package org.jeecg.modules.labourwork.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.labourwork.entity.WorkOrder;
import org.jeecg.modules.labourwork.vo.WorkingOrderVo;

import java.util.List;

@Mapper
public interface WorkOrderMapper extends BaseMapper<WorkOrder> {

    List<WorkOrder> selWorkOrderAll(@Param("workOrder") WorkOrder workOrder, @Param("page") Page page);

    int selworkOrderCount(@Param("workOrder") WorkOrder workOrder);


    //工程工单
    List<WorkingOrderVo> findWrok(@Param("page") Page page, @Param("workingOrderVo") WorkingOrderVo workingOrderVo);
    int countWork(WorkingOrderVo workingOrderVo);



}